﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Enterprise/Master/AdminMaster.Master"
    AutoEventWireup="true" CodeBehind="DistributionRelationToQuery.aspx.cs" Inherits="HZ.DrugTrade.Web.Enterprise.RelationQuery.DistributionRelationToQuery" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="tabnav">
        <asp:Label ID="lblNav" runat="server"></asp:Label>
    </div>
    <div id="tabcontent">
        <table class="querylist">
            <tr>
                <td>
                    <table class="querylist">
                        <tr>
                            <td align="right">
                                <asp:Label ID="lblUserId" runat="server" Text="产品名称："></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtGoodsName" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                <asp:Label ID="lblIsUsing" runat="server" Text="规格型号："></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtOutlookc" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                <asp:Label ID="lblMaterial" runat="server" Text="材质："></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtMaterial" runat="server"></asp:TextBox>
                            </td>
                            <td rowspan="3">
                                <hz:HzButton ID="btnQuery0" runat="server" OnClick="btnQuery_Click" Text="查  询" CssClass="btn" />&nbsp;<hz:HzButton
                                    ID="btnExport" runat="server" ToolTip="导出查询条件下的全部配送关系" Text="导出Excel" CssClass="btn"
                                    onclick="btnExport_Click" />
                            </td>
                        </tr>
                        <tr>
                            <%--<td align="right">
                                <asp:Label runat="server" ID="lblPinyinCode" Text="拼音码:"></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox runat="server" ID="txtPinyinCode"></asp:TextBox>
                            </td>--%>
                            <td align="right">
                                <asp:Label ID="lblIsOnline" runat="server" Text="最小计量单位："></asp:Label>
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtUnit" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                配送企业：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtCompanyName_ps" runat="server"></asp:TextBox>
                            </td>
                             <td align="right">
                                状态：
                            </td>
                            <td align="left">
                                <asp:DropDownList ID="DllStatusType" runat="server">
                                    <asp:ListItem Text="(全部)" Value=""></asp:ListItem>
                                    <asp:ListItem Text="未提交" Value="-1"></asp:ListItem>
                                    <asp:ListItem Text="未确定" Value="0"></asp:ListItem>
                                    <asp:ListItem Text="已同意" Value="1"></asp:ListItem>
                                    <asp:ListItem Text="已拒绝" Value="2"></asp:ListItem>
                                    <asp:ListItem Text="可配送" Value="3"></asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                           
                            <td align="right">
                                地区：
                            </td>
                            <td align="left">
                                <asp:DropDownList ID="DllArea" runat="server">
                                    <asp:ListItem Text="(全区)" Value=""></asp:ListItem>
                                    <asp:ListItem Text="呼和浩特市" Value="呼和浩特市"></asp:ListItem>
                                    <asp:ListItem Text="包头市" Value="包头市"></asp:ListItem>
                                    <asp:ListItem Text="乌海市" Value="乌海市"></asp:ListItem>
                                    <asp:ListItem Text="赤峰市" Value="赤峰市"></asp:ListItem>
                                    <asp:ListItem Text="通辽市" Value="通辽市"></asp:ListItem>
                                    <asp:ListItem Text="鄂尔多斯市" Value="鄂尔多斯市"></asp:ListItem>
                                    <asp:ListItem Text="呼伦贝尔市" Value="呼伦贝尔市"></asp:ListItem>
                                    <asp:ListItem Text="巴彦淖尔市" Value="巴彦淖尔市"></asp:ListItem>
                                    <asp:ListItem Text="乌兰察布市" Value="乌兰察布市"></asp:ListItem>
                                    <asp:ListItem Text="兴安盟" Value="兴安盟"></asp:ListItem>
                                    <asp:ListItem Text="锡林郭勒盟" Value="锡林郭勒盟"></asp:ListItem>
                                    <asp:ListItem Text="阿拉善盟" Value="阿拉善盟"></asp:ListItem>
                                </asp:DropDownList>
                            </td>
                            <td align="right">拼音码：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtpinyincode" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                <asp:Label Text="项目：" ID="lblProjectid" runat="server" />
                            </td>
                            <td align="left">
                                <asp:DropDownList ID="ddlProjectid" runat="server">
                                    <asp:ListItem Value="0002">2014年内蒙古自治区网上高值医用耗材阳光采购项目</asp:ListItem>
                                    <asp:ListItem Value="0001">2012年内蒙古自治区网上医用耗材采购项目</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView ID="GvRelaion" CssClass="mainlist" runat="server" AutoGenerateColumns="False"
        EmptyDataText="暂无符合要求的数据！" DataKeyNames="AreaID,CompanyID_PS,ProcureCatalogID,IsUsing,CompanyID_TB">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex-1) %></ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <asp:BoundField DataField="ProcureCatalogID" HeaderText="流水号" Visible="false" />
            <asp:BoundField DataField="GoodsName" HeaderText="产品名称" />
            <asp:BoundField DataField="Outlookc" HeaderText="规格型号" />
            <asp:BoundField DataField="Material" HeaderText="材质" NullDisplayText="无" />
            <%--      <asp:BoundField DataField="Factor" HeaderText="转换系数" />--%>
            <asp:BoundField DataField="Unit" HeaderText="最小计量单位" />
            <asp:BoundField DataField="PackUnit" HeaderText="包装单位" />
            <asp:BoundField DataField="QualityLevel" HeaderText="产品类别" />
            <asp:BoundField DataField="CompanyName_SC" HeaderText="生产企业" />
            <asp:BoundField DataField="CompanyName_TB" HeaderText="投标企业" />
            <asp:BoundField DataField="CompanyName_PS" HeaderText="配送企业" />
            <asp:BoundField DataField="AreaName" HeaderText="配送地区" />
            <asp:BoundField DataField="Status" HeaderText="确认状态" />
        </Columns>
    </asp:GridView>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged">
        </webdiyer:AspNetPager>
    </div>
    <div class="listip">
        <ul>
            <li>说明：<span>检查本企业中标产品的配送关系 </span></li>
        </ul>
    </div>
</asp:Content>
